<include target="./header.html" />
<table class="x_table x_table-striped x_table-hover">
	<caption>
		<strong>{$lang->summary}</strong>
	</caption>
	<tr>
		<th scope="col" style="width:20%"><a href="{getUrl('','module','admin','act','dispDocumentAdminList')}">{$lang->number_of_threads}</a></th>
		<th scope="col" style="width:20%"><a href="{getUrl('','module','admin','act','dispCommentAdminList','search_target','is_published','search_keyword', 'Y')}">{$lang->number_of_posts_published}</a></th>
		<th scope="col" style="width:20%"><a href="{getUrl('','module','admin','act','dispCommentAdminList','search_target','is_published','search_keyword', 'N')}">{$lang->number_of_posts_unpublished}</a></th>
		<th scope="col" style="width:20%"><a href="{getUrl('','module','admin','act','dispMemberAdminList')}">{$lang->number_of_users}</a></th>
		<th scope="col" style="width:20%"><a href="{getUrl('','module','admin','act','dispFileAdminList')}">{$lang->number_of_atachements}</a></th>
	</tr>
	<tr>
		<td>{number_format($total_count)}</td>
		<td>{number_format($total_comments_published)}</td>
		<td>{number_format($total_comments_unpublished)}</td>
		<td>{number_format($total_users)}</td>
		<td>{number_format($total_attachements)}</td>
	</tr>
</table>
<table class="x_table x_table-striped x_table-hover">
	<caption>
		<strong>{$lang->lastweek}</strong>
	</caption>
	<tr>
		<th scope="col" style="width:25%">{$lang->lastweek_threads}</th>
		<th scope="col" style="width:25%">{$lang->lastweek_posts}</th>
		<th scope="col" style="width:25%">{$lang->lastweek_users}</th>
		<th scope="col" style="width:25%">{$lang->lastweek_atachements}</th>
	</tr>
	<tr>
		<td>{$lastweek_total_count}</td>
		<td>{$lastweek_total_comments}</td>
		<td>{$lastweek_total_users}</td>
		<td>{$lastweek_total_attachements}</td>
	</tr>
</table>
<table class="x_table x_table-striped x_table-hover">
	<caption>
		<strong>{$lang->last_updated_threads}</strong>
	</caption>
	<thead>
		<tr>
			<th scope="col">{$lang->thread}</th>
			<th scope="col">{$lang->post}</th>
			<th scope="col" style="width:120px">{$lang->nick_name}</th>
			<th scope="col" style="width:140px">{$lang->last_update}</th>
		</tr>
	</thead>
	<tbody>
		<tr loop="$newest_documents => $document">
			<td>
				<a href="{getUrl('mid',$module_info->mid,'act','dispForumContent','document_srl',$document->document_srl,'category',$document->category_srl)}" target="_blank" >{$document->title}</a>
			</td>
			<td>
				{$document->content}
			</td>
			<td>
				{$document->nick_name}
			</td>
			<td>
				{zdate($document->last_update,'Y-m-d H:i')}
			</td>
		</tr>
	</tbody>
</table>
<table class="x_table x_table-striped x_table-hover">
	<caption>
		<strong>{$lang->last_updated_comments}</strong>
	</caption>
	<thead>
		<tr>
			<th scope="col">{$lang->post}</th>
			<th scope="col">{$lang->thread}</th>
			<th scope="col" style="width:120px">{$lang->nick_name}</th>
			<th scope="col" style="width:140px">{$lang->last_update}</th>
		</tr>
	</thead>
	<tbody>
		<tr loop="$newest_comments => $comment">
			<td>
				<a href="{getUrl('mid',$module_info->mid,'act','dispForumContent','document_srl',$comment->document_srl,'category',$comment->category_srl,'cpage',$comment->cpage).'#comment_'.$comment->comment_srl}" target="_blank" >{$comment->content}</a>
			</td>
			<td>
				{$comment->document_content}
			</td>
			<td>
				{$comment->nick_name}
			</td>
			<td>
				{zdate($comment->last_update,'Y-m-d H:i')}
			</td>
		</tr>
	</tbody>
</table>
<style scoped>
td>a>*{display:inline}
</style>
